import * as PublicWorkService from 'services/PublicWorkService';

export function getFeaturedWorkList() {
  return () => PublicWorkService.getPublicWorks(0, 8, 'LIKE_COUNT', 'DESC')
    .then(data => data);
}

export function getLatestWorkList() {
  return () => PublicWorkService.getPublicWorks(0, 8, 'PUBLISH_TIME', 'DESC')
    .then(data => data);
}
